//
//  SleepAverageHRVCell.swift
//  DaRings
//
//  Created by 尹琼 on 2022/11/4.
//

import UIKit
import MYModule

class SleepAverageHRVCell: SleepAverageCell {
    

    override func makeUI() {
        super.makeUI()
        
        averageView.fillChartView.titleLabel.text = "sleep_average_hrv".language
        
        averageView.fillChartView.avgHrLabel.text = "sleep_avg_hrv".language
        
        averageView.fillChartView.maxHRVView.iconImageView.image = UIImage(named: "ic_sleep_max")

        averageView.fillChartView.minHRVView.iconImageView.image = UIImage(named: "ic_sleep_min")
        
      
        
        
//       
//        averageView.hrvHintView.iconImageView.image = UIImage(named: "ic_sleep_hrv_risk")
//        
//        averageView.hrvHintView.descLabel.attributedText = "sleep_apnea_risk".language.toAttributed
//            .foregroundColor(UIColor.assist_222222)
//            .font(Fonts.systemFont(ofSize: 14))
//            .paragraph(setup: {
//                $0.lineSpacing = 3.0
//            }).rawValue
//        
//        averageView.hiddenDesc = true
        

    }
    
}
